From: Henrik Laxhuber Date: Sat, 21 Apr 2018 07:24:31 +0000 (+0200) Subject: Added documentation for LINKER environment variable X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~22^2~1^2~45^2~6 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=cc405f07a938080f3879deb6560e3232b9364295;p=cargo.git Added documentation for LINKER environment variable This commit amends the documentation on environment variables to reflect the proposed LINKER variable. --- diff --git a/src/doc/src/reference/environment-variables.md b/src/doc/src/reference/environment-variables.md index 3b505faa2..455687a02 100644 --- a/src/doc/src/reference/environment-variables.md +++ b/src/doc/src/reference/environment-variables.md @@ -123,6 +123,8 @@ let out_dir = env::var("OUT_DIR").unwrap(); * `RUSTC`, `RUSTDOC` - the compiler and documentation generator that Cargo has resolved to use, passed to the build script so it might use it as well. +* `LINKER` - The linker that rust has resolved to use for the current target, + passed to the build script so it might use it as well. [links]: reference/build-scripts.html#the-links-manifest-key [profile]: reference/manifest.html#the-profile-sections